package task

const (
	// ## 任务状态
	TaskStatusTodo    = "todo"
	TaskStatusQueue   = "queue"
	TaskStatusProcess = "process"
	TaskStatusSuccess = "success"
	TaskStatusFailure = "failure"
)
const (
	CacheKeySettings = "settings_%s"
)

var NodeConfig = map[string][]string{
	"other": {
		"other/archive",
		"other/compress",
	},
	"docs": {
		"docs/conversion",
		"docs/ocr",
		"docs/ocr2",
	},
	"image": {
		"image/bgremove",
		"image/wmremove",
		"image/scale",
	},
}

type Download struct {
	Url  string `json:"url"`
	Path string `json:"path"`
}
